﻿using System;
using System.Collections.Generic;

#nullable disable

namespace Model.Models
{
    public partial class Goodsme
    {
        public Goodsme()
        {
            Distributes = new HashSet<Distribute>();
            Orderdetails = new HashSet<Orderdetail>();
            Plans = new HashSet<Plan>();
            Stockchanges = new HashSet<Stockchange>();
            Stocks = new HashSet<Stock>();
        }

        public string Gid { get; set; }
        public string Gname { get; set; }
        public int? Sdid { get; set; }
        public string Unit { get; set; }
        public decimal? Formprice { get; set; }
        public double? Discount { get; set; }
        public decimal? Costprice { get; set; }
        public string Model { get; set; }
        public string Bid { get; set; }
        public string Company { get; set; }
        public int? Isexc { get; set; }
        public int? Isret { get; set; }
        public DateTime? Keepdate { get; set; }
        public int? Warning { get; set; }
        public int? Most { get; set; }
        public string Remark { get; set; }

        public virtual Business BidNavigation { get; set; }
        public virtual Secondclass Sd { get; set; }
        public virtual ICollection<Distribute> Distributes { get; set; }
        public virtual ICollection<Orderdetail> Orderdetails { get; set; }
        public virtual ICollection<Plan> Plans { get; set; }
        public virtual ICollection<Stockchange> Stockchanges { get; set; }
        public virtual ICollection<Stock> Stocks { get; set; }
    }
}
